<!--%import("filter/insert_page.xml")-->
<!--#include("header.html")-->

<form action="./" method="post" onsubmit="return procFilter(this, insert_page)" enctype="multipart/form-data">
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="module_srl" value="{$module_srl}" />

    <table cellspacing="0" class="rowTable">
    <tr>
        <th scope="row"><div>{$lang->mid}</div></th>
        <td colspan="3">
            <input type="text" name="mid" value="{$module_info->mid}" class="inputTypeText w200" />
            <p>{$lang->about_mid}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->module_category}</div></th>
        <td colspan="3">
            <select name="module_category_srl">
                <option value="0">{$lang->notuse}</option>
                <!--@foreach($module_category as $key => $val)-->
                <option value="{$key}" <!--@if($module_info->module_category_srl==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
                <!--@end-->
            </select>
            <p>{$lang->about_module_category}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->browser_title}</div></th>
        <td colspan="3">
            <input type="text" name="browser_title" value="{$module_info->browser_title}"  class="inputTypeText w400" id="browser_title"/>
            <a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','browser_title')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
            <p>{$lang->about_browser_title}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->layout}</div></th>
        <td colspan="3">
            <select name="layout_srl">
            <option value="0">{$lang->notuse}</option>
            <!--@foreach($layout_list as $key => $val)-->
            <option value="{$val->layout_srl}" <!--@if($module_info->layout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
            <!--@end-->
            </select>
            <p>{$lang->about_layout}</p>
        </td>
    </tr>
	<tr>
		<th scope="row"><div>{$lang->mobile_view}</div></th>
		<td>
			<input type="checkbox" name="use_mobile" value="Y" <!--@if($module_info->use_mobile == "Y")-->checked="checked"<!--@end--> />
			<p>{$lang->about_mobile_view}</p>
		</td>
	</tr>
    <tr>
        <th scope="row"><div>{$lang->mobile_layout}</div></th>
        <td>
            <select name="mlayout_srl">
            <option value="0">{$lang->notuse}</option>
            <!--@foreach($mlayout_list as $key => $val)-->
            <option value="{$val->layout_srl}" <!--@if($module_info->mlayout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
            <!--@end-->
            </select>
            <p>{$lang->about_layout}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->page_caching_interval}</div></th>
        <td colspan="3">
            <input type="text" name="page_caching_interval" value="{(int)$module_info->page_caching_interval}"  class="inputTypeText w40" /> {$lang->unit_min}
            <p>{$lang->about_page_caching_interval}</p>
        </td>
    </tr>
    <tr>
        <th colspan="4" class="button">
            <span class="button black strong"><input type="submit" value="{$lang->cmd_save}" accesskey="s" /></span>
            <a href="{getUrl('','module','page','act','dispPageAdminContentModify','module_srl',$module_info->module_srl)}" onclick="window.open(this.href,'PageEdit','width=850,height=650,scrollbars=yes,resizable=yes,toolbars=no');return false;" class="button red"><span>{$lang->cmd_page_modify}</span></a>
            <!--@if($module=="admin")-->
            <a href="{getUrl('act','dispPageAdminContent','module_srl','')}" class="button"><span>{$lang->cmd_list}</span></a>
            <!--@else-->
            <a href="{getUrl('act','')}" class="button"><span>{$lang->cmd_back}</span></a>
            <!--@end-->
        </th>
    </tr>
    </table>

</form>
